package com.softeem.score.manager.service;

import com.github.pagehelper.PageInfo;
import com.softeem.score.model.dto.gradeDto.AdminScoreQueryDTO;
import com.softeem.score.model.dto.gradeDto.StudentScoreQueryDTO;
import com.softeem.score.model.vo.educational.GradeVo;
import com.softeem.score.model.vo.educational.StudentScoreVo;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zhu
 * @since 2024-02-14
 */
public interface GradeService {

    PageInfo<GradeVo> findByPage(AdminScoreQueryDTO adminScoreQueryDTO, Integer pageNum, Integer pageSize);

    PageInfo<StudentScoreVo> findByPageByStudentNumber(StudentScoreQueryDTO studentScoreQueryDTO, Integer pageNum, Integer pageSize);

    Map<String, Object> findAllGradeByCourseId(Long courseId);
}
